Skip to main content

Integration

Integration Documentation: SOAP API, AJAX & Puppeteer Bot this document details the integration process for updating patient profiles using a combination of SOAP API, AJAX, and a Puppeteer bot. The SOAP API is responsible for updating most fields, while the Puppeteer bot updates the remaining fields using AJAX for form field filling and submission. The profile update process consists of three tabs

  1. Profile Tab
  2. Contact Information Tab
  3. Additional Information Tab

Update Mechanism

SOAP API

The SOAP API is responsible for updating key patient details by making structured requests. The API interacts with the backend system to update information programmatically.

Puppeteer Bot with AJAX

The Puppeteer bot is used to automate the web interface and update fields that are not accessible through the API. This is necessary for fields that require UI interactions, such as dropdown selections, checkboxes, and dynamically populated fields. The bot uses AJAX requests to fill and submit form fields efficiently.

Field Update Responsibilities

  1. Profile Tab

Field NameUpdated By
First NameSOAP API
Last NameSOAP API
Middle NameSOAP API
Date of BirthSOAP API
Phone NumberSOAP API
Phone TypePuppeteer Bot
EmailSOAP API
Address Line 1SOAP API
Address Line 2SOAP API
Gender IdentitySOAP API
StatePuppeteer Bot
CitySOAP API
SexSOAP API
ZipSOAP API
  1. Contact Tab

Field NameUpdated By
Emergency Contact First NameSOAP API
Emergency Contact Last NameSOAP API
Emergency Contact Middle NameSOAP API
Emergency Contact Phone NumberSOAP API
Emergency Contact Phone TypePuppeteer Bot
Emergency Contact Email AddressSOAP API
Relationship to Contact Puppeteer Bot
Responsible Party First NameSOAP API
Responsible Party Last NameSOAP API
Responsible Party Middle NameSOAP API
Responsible Party Phone NumberSOAP API
Responsible Party Phone TypeSOAP API
Responsible Party Email AddressSOAP API
Relationship to Responsible PartyPuppeteer Bot
Address Line 1SOAP API
Address Line 2SOAP API
Zip CodePuppeteer Bot
  1. Additional Information Tab

Field NameUpdated By
RacePuppeteer Bot
LanguagePuppeteer Bot
EthnicityPuppeteer Bot
Patient Ethnicity GroupPuppeteer Bot
Patient Race CategoryPuppeteer Bot